package cn.momo.mobile.utils;

import java.util.HashMap;
import java.util.Map;

/**
 */
public class GroupIdMapping {

	static Map<String,String> map = new HashMap<String,String>();;
	
	/**
	 * @param oId 
	 * @param nId
	 * 2012-5-11
	 */
	public static void putIdMap(String oId , String nId){
		
		map.put(oId, nId);
		
	}
	
	/**
	 * @param oId 
	 * @return  
	 */
	public static String getNewGroupId(String oId){
		
		String nId = map.get(oId);
		
		return nId;
	}
}
